package yingyong;

public class RunService {
    public static volatile Long startTime = System.currentTimeMillis();
    public static volatile Long num = 0L;
    public static void main(String[] args) {

        Service service = new Service();
        System.out.println("开始时间是"+startTime);
        TimeThread timeThread = new TimeThread();
        timeThread.start();
        for(int i=0;i<100000;i++){
            ThreadTest tt = new ThreadTest(service);
            /*try {
                Thread.sleep(5);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }*/
            tt.start();
        }
    }
}
//        1532938106530
//        1532938106838